package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.util.Map;

/**
 * @author: 李旭
 * @create: 2021-09-14 14:33
 *
 *   支付表的操作
 *
 **/
public interface PaymentService {
    PaymentInfo createPayment(Long orderId, PaymentType paymentType);

    PaymentInfo getPaymentInfo(String out_trade_no);

    PaymentInfo getPaymentInfo(Long orderId);

    void updatePaymentInfo(Map<String, String> paramsMap);
}
